<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('FenxiaoWarehouseQueryWarehouseListParam/AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTO.class.php');

class AlibabaCbuCommonModelPageResultCloudWarehouseOpenDTO extends SDKDomain {

       	
    private $data;
    
        /**
    * @return 云仓列表
    */
        public function getData() {
        return $this->data;
    }
    
    /**
     * 设置云仓列表     
     * @param array include @see AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTO[] $data     
     * 参数示例：<pre>[{}]</pre>     
     * 此参数必填     */
    public function setData(AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTO $data) {
        $this->data = $data;
    }
    
        	
    private $errorCode;
    
        /**
    * @return 错误信息码	
    */
        public function getErrorCode() {
        return $this->errorCode;
    }
    
    /**
     * 设置错误信息码	     
     * @param String $errorCode     
     * 参数示例：<pre>101</pre>     
     * 此参数必填     */
    public function setErrorCode( $errorCode) {
        $this->errorCode = $errorCode;
    }
    
        	
    private $errorInfo;
    
        /**
    * @return 错误信息	
    */
        public function getErrorInfo() {
        return $this->errorInfo;
    }
    
    /**
     * 设置错误信息	     
     * @param String $errorInfo     
     * 参数示例：<pre>系统异常</pre>     
     * 此参数必填     */
    public function setErrorInfo( $errorInfo) {
        $this->errorInfo = $errorInfo;
    }
    
        	
    private $pageNum;
    
        /**
    * @return 分页页数	
    */
        public function getPageNum() {
        return $this->pageNum;
    }
    
    /**
     * 设置分页页数	     
     * @param Integer $pageNum     
     * 参数示例：<pre>1</pre>     
     * 此参数必填     */
    public function setPageNum( $pageNum) {
        $this->pageNum = $pageNum;
    }
    
        	
    private $pageSize;
    
        /**
    * @return 分页大小	
    */
        public function getPageSize() {
        return $this->pageSize;
    }
    
    /**
     * 设置分页大小	     
     * @param Integer $pageSize     
     * 参数示例：<pre>10</pre>     
     * 此参数必填     */
    public function setPageSize( $pageSize) {
        $this->pageSize = $pageSize;
    }
    
        	
    private $recordCount;
    
        /**
    * @return 记录总条数	
    */
        public function getRecordCount() {
        return $this->recordCount;
    }
    
    /**
     * 设置记录总条数	     
     * @param Integer $recordCount     
     * 参数示例：<pre>100</pre>     
     * 此参数必填     */
    public function setRecordCount( $recordCount) {
        $this->recordCount = $recordCount;
    }
    
        	
    private $success;
    
        /**
    * @return 接口调用结果	
    */
        public function getSuccess() {
        return $this->success;
    }
    
    /**
     * 设置接口调用结果	     
     * @param Boolean $success     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setSuccess( $success) {
        $this->success = $success;
    }
    
        	
    private $total;
    
        /**
    * @return 总数	
    */
        public function getTotal() {
        return $this->total;
    }
    
    /**
     * 设置总数	     
     * @param Integer $total     
     * 参数示例：<pre>100</pre>     
     * 此参数必填     */
    public function setTotal( $total) {
        $this->total = $total;
    }
    
        	
    private $totalPage;
    
        /**
    * @return 总页数	
    */
        public function getTotalPage() {
        return $this->totalPage;
    }
    
    /**
     * 设置总页数	     
     * @param Integer $totalPage     
     * 参数示例：<pre>20</pre>     
     * 此参数必填     */
    public function setTotalPage( $totalPage) {
        $this->totalPage = $totalPage;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "data", $this->stdResult )) {
    			$dataResult=$this->stdResult->{"data"};
    				$object = json_decode ( json_encode ( $dataResult ), true );
					$this->data = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTOResult=new AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTO();
						$AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTOResult->setArrayResult($arrayobject );
						$this->data [$i] = $AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTOResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "errorCode", $this->stdResult )) {
    				$this->errorCode = $this->stdResult->{"errorCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "errorInfo", $this->stdResult )) {
    				$this->errorInfo = $this->stdResult->{"errorInfo"};
    			}
    			    		    				    			    			if (array_key_exists ( "pageNum", $this->stdResult )) {
    				$this->pageNum = $this->stdResult->{"pageNum"};
    			}
    			    		    				    			    			if (array_key_exists ( "pageSize", $this->stdResult )) {
    				$this->pageSize = $this->stdResult->{"pageSize"};
    			}
    			    		    				    			    			if (array_key_exists ( "recordCount", $this->stdResult )) {
    				$this->recordCount = $this->stdResult->{"recordCount"};
    			}
    			    		    				    			    			if (array_key_exists ( "success", $this->stdResult )) {
    				$this->success = $this->stdResult->{"success"};
    			}
    			    		    				    			    			if (array_key_exists ( "total", $this->stdResult )) {
    				$this->total = $this->stdResult->{"total"};
    			}
    			    		    				    			    			if (array_key_exists ( "totalPage", $this->stdResult )) {
    				$this->totalPage = $this->stdResult->{"totalPage"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    		if (array_key_exists ( "data", $this->arrayResult )) {
    		$dataResult=$arrayResult['data'];
    			$this->data = new AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTO();
    			$this->data->setStdResult ( $dataResult);
    		}
    		    	    			    		    			if (array_key_exists ( "errorCode", $this->arrayResult )) {
    			$this->errorCode = $arrayResult['errorCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "errorInfo", $this->arrayResult )) {
    			$this->errorInfo = $arrayResult['errorInfo'];
    			}
    		    	    			    		    			if (array_key_exists ( "pageNum", $this->arrayResult )) {
    			$this->pageNum = $arrayResult['pageNum'];
    			}
    		    	    			    		    			if (array_key_exists ( "pageSize", $this->arrayResult )) {
    			$this->pageSize = $arrayResult['pageSize'];
    			}
    		    	    			    		    			if (array_key_exists ( "recordCount", $this->arrayResult )) {
    			$this->recordCount = $arrayResult['recordCount'];
    			}
    		    	    			    		    			if (array_key_exists ( "success", $this->arrayResult )) {
    			$this->success = $arrayResult['success'];
    			}
    		    	    			    		    			if (array_key_exists ( "total", $this->arrayResult )) {
    			$this->total = $arrayResult['total'];
    			}
    		    	    			    		    			if (array_key_exists ( "totalPage", $this->arrayResult )) {
    			$this->totalPage = $arrayResult['totalPage'];
    			}
    		    	    		}
 
   
}
?>